package com.ruoyi.business.mapper;

import java.util.List;
import com.ruoyi.business.domain.CsSensitivewords;

/**
 * 敏感词Mapper接口
 * 
 * @author 李守壮
 * @date 2023-04-03
 */
public interface CsSensitivewordsMapper 
{
    /**
     * 查询敏感词
     * 
     * @param id 敏感词主键
     * @return 敏感词
     */
    public CsSensitivewords selectCsSensitivewordsById(String id);

    /**
     * 查询敏感词列表
     * 
     * @param csSensitivewords 敏感词
     * @return 敏感词集合
     */
    public List<CsSensitivewords> selectCsSensitivewordsList(CsSensitivewords csSensitivewords);

    /**
     * 新增敏感词
     * 
     * @param csSensitivewords 敏感词
     * @return 结果
     */
    public int insertCsSensitivewords(CsSensitivewords csSensitivewords);

    /**
     * 修改敏感词
     * 
     * @param csSensitivewords 敏感词
     * @return 结果
     */
    public int updateCsSensitivewords(CsSensitivewords csSensitivewords);

    /**
     * 删除敏感词
     * 
     * @param id 敏感词主键
     * @return 结果
     */
    public int deleteCsSensitivewordsById(String id);

    /**
     * 批量删除敏感词
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCsSensitivewordsByIds(String[] ids);
}
